package errorLayer;

import javax.swing.JOptionPane;

public class notFound extends JOptionPane {
	
	private String lostItem;
	
	public notFound (String item) {
		
		this.lostItem = item;
		
		displayMessage();
		
	}
	
	private void displayMessage () {
		this.showMessageDialog(getParent(), "Could not find, " + lostItem + ".", "ERROR: 404", JOptionPane.OK_OPTION);
	}
}
